package cn.stylefeng.guns.modular.storage.entity;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 拣货单明细表
 */
@Data
@TableName("storage_out_detailed")
public class StorageOutDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 出库状态
     */
    @TableField("storage_out_status")
    private String storageOutStatus;
    
    /**
     * 标记
     */
    @TableField("signs")
    private String signs;
    
    /**
     * 标记2
     */
    @TableField("signs2")
    private String signs2;
    
    /**
     * 实际数量
     */
    @TableField("real_num")
    private String realNum;
    
    /**
     * 缺货标识
     */
    @TableField("defect")
    private String defect;

    /**
     * 库存id
     */
    @TableField("stock_id")
    private Long stockId;

    /**
     * 拣货单编号
     */
    @TableField("storage_out_number")
    private String storageOutNumber;

    /**
     * 托盘编号
     */
    @TableField("tray_number")
    private String trayNumber;

    /**
     * 库位名称
     */
    @TableField("storage_postion_name")
    private String storagePostionName;

    /**
     * 库位编号
     */
    @TableField("storage_postion_number")
    private String storagePostionNumber;

    /**
     * 商品编号
     */
    @TableField("storage_goodscode")
    private String storageGoodscode;

    /**
     * 商品id
     */
    @TableField("storage_goods_id")
    private Long storageGoodsId;

    /**
     * 商品名称
     */
    @TableField("storage_goodsname")
    private String storageGoodsname;

    /**
     * 货号
     */
    @TableField("goods_no")
    private String goodsNo;

    /**
     * 大包数
     */
    @TableField("storage_putbalenum")
    private String storagePutbalenum;

    /**
     * 出库数量
     */
    @TableField("storage_number")
    private String storageNumber;

    /**
     * 重量
     */
    @TableField("storage_weight")
    private String storageWeight;

    /**
     * 体积
     */
    @TableField("storage_volume")
    private String storageVolume;

    /**
     * 单价
     */
    @TableField("storage_price")
    private String storagePrice;

    /**
     * 金额
     */
    @TableField("storage_money")
    private String storageMoney;

    /**
     * 批号
     */
    @TableField("storage_batchnumber")
    private String storageBatchnumber;

    /**
     * 生产日期
     */
    @TableField("storage_date")
    private String storageDate;

    /**
     * 重泡货
     */
    @TableField("storage_rebubbles")
    private String storageRebubbles;

    /**
     * 商品大类
     */
    @TableField("storage_largeclass")
    private String storageLargeclass;

    /**
     * 类别
     */
    @TableField("storage_goodstype")
    private String storageGoodstype;

    /**
     * 保管条件
     */
    @TableField("storage_putcondition")
    private String storagePutcondition;

    /**
     * 单位
     */
    @TableField("goods_unit")
    private String goodsUnit;

    /**
     * 包装
     */
    @TableField("storage_packing")
    private String storagePacking;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 拣货人id
     */
    @TableField(value = "storage_out_user")
    private Long storageOutUser;

    /**
     * 拣货人姓名
     */
    @TableField(value = "storage_out_name")
    private String storageOutName;

    /**
     * 拣货状态pickingStatus
     */
    @TableField(value = "picking_status")
    private String pickingStatus;

    /**
     * 拣货人员
     */
    @TableField(value = "current_operator")
    private String currentOperator;

    /**
     * 推荐批次
     */
    @TableField(value = "recommend_batchs")
    private String recommendBatchs;

	@Override
    public String toString() {
        return "StorageOutDetailed{" +
                "id=" + id +
                ", stockId=" + stockId +
                ", storageOutNumber='" + storageOutNumber + '\'' +
                ", trayNumber='" + trayNumber + '\'' +
                ", storagePostionName='" + storagePostionName + '\'' +
                ", storagePostionNumber='" + storagePostionNumber + '\'' +
                ", storageGoodscode='" + storageGoodscode + '\'' +
                ", storageGoodsId=" + storageGoodsId +
                ", storageGoodsname='" + storageGoodsname + '\'' +
                ", storagePutbalenum='" + storagePutbalenum + '\'' +
                ", storageNumber='" + storageNumber + '\'' +
                ", storageWeight='" + storageWeight + '\'' +
                ", storageVolume='" + storageVolume + '\'' +
                ", storagePrice='" + storagePrice + '\'' +
                ", storageMoney='" + storageMoney + '\'' +
                ", storageBatchnumber='" + storageBatchnumber + '\'' +
                ", storageDate='" + storageDate + '\'' +
                ", storageRebubbles='" + storageRebubbles + '\'' +
                ", storagePacking='" + storagePacking + '\'' +
                ", storageLargeclass='" + storageLargeclass + '\'' +
                ", storageGoodstype='" + storageGoodstype + '\'' +
                ", storagePutcondition='" + storagePutcondition + '\'' +
                ", storageOutStatus='" + storageOutStatus + '\'' +
                ", notes='" + notes + '\'' +
                ", version=" + version +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createUser=" + createUser +
                ", updateUser=" + updateUser +
                ", storageOutUser=" + storageOutUser +
                ", storageOutName='" + storageOutName + '\'' +
                ", pickingStatus='" + pickingStatus + '\'' +
                ", currentOperator='" + currentOperator + '\'' +
                '}';
    }
}
